﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace PKSMonitorNew
{
    public partial class Form2 : Form
    {
        public Form2()
        {
            InitializeComponent();
        }

        public string COMPort
        {
            get { return comboBoxPort.Text; }
            set { comboBoxPort.Text = value; }
        }

        public string BaudRate
        {
            get { return comboBoxBaudRate.Text; }
            set { comboBoxBaudRate.Text = value; }
        }

        public string DataBits
        {
            get { return comboBoxDataBits.Text; }
            set { comboBoxDataBits.Text = value; }
        }

        public string StopBits
        {
            get { return comboBoxStopBits.Text; }
            set { comboBoxStopBits.Text = value; }
        }

        private void button2_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void buttonOK_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
